<script src="__PUBLIC__/js/admin.js"></script>
<script type="text/javascript">
</script>
<div class="col-lg-9">
<table class="table table-striped table-hover table-condensed .table-responsive">
<tr class="text-center"><td class="col-sm-1"><div class="checkbox">
  <label>
    <input type="checkbox" id="allbox" name="infobox[]"  value="allbox">
    全选
  </label>
</div></td><td class="col-sm-2">信息类型</td><td class="col-sm-1">标题</td><td class="col-sm-2">内容</td><td class="col-sm-1">联系人</td><td>联系电话</td><td>发布时间</td><td class="col-sm-1">审核状态</td><td>操作</td></tr>
<foreach name="list" item="v">
<tr class="text-center"><td><div class="checkbox">
  <label>
    <input type="checkbox" name="infobox[]" value="{$v.id}">
  </label>
</div></td><td>{$v.type}</td><td>{$v.title}</td><td><a class="" data-toggle="modal" data-target="#{$v.id}">
 {$v.content|mb_substr=0,10,"UTF-8"}...
</a>


</td><td>{$v.linkman}</td>
<td>{$v.tel}</td><td>{$v.edate}</td><td class="checkstate">{$v.checkstate}</td><td class="col-sm-2"><button class="btn btn-info checkinfo" >审核</button><button class="btn btn-info delinfo">删除</button></td></tr>
</foreach>
<tr><td class="col-sm-1"><button class="btn btn-info checkinfoAll">批量审核</button></td><td><button class="btn btn-info delinfoAll" >批量删除</button></td></tr>
</table>
<div class="pagelist">{$page}</div>
</div>

<foreach name="list" item="v">
<div class="modal fade" id="{$v.id}" tabindex="-1" >
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">内容</h4>
      </div>
      <div class="modal-body">
        {$v.content|nl2br}
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>
</foreach>


